package cn.edu.gxnu.dsa.lab;

import java.util.Scanner;

public class Lab6 {

	public static void main(String[] args) {
		welcomMsg();
		System.out.println("please input the vehicle sequence:");
		Scanner sc = new Scanner(System.in);
		FerrySimulator fs = new FerrySimulator(sc.nextLine());
        fs.start();
        sc.close();
	}
	
	static void welcomMsg() {
		System.out.println("+----------------------------------------+");
		System.out.println("|Lab: Simulation for a ferry using queue |");
		System.out.println("|Author: TANG Zhiyong  Version: 0.1      |");
		System.out.println("|Eclipse Public License - v 1.0          |");
		System.out.println("|                                        |");
		System.out.println("|Guangxi Normal University               |");
		System.out.println("+----------------------------------------+");
	}

}
